<template>
  <div class="power_order">
    <div class="head">
      <div class="h-head">
        <div class="left" @click="$router.back(-1)">
          <img src="../../assets/left.png" alt />
          <p>LK</p>
        </div>
        <div class="right">
          我的订单
        </div>
      </div>
    </div>
    <div class="p_list">
      <div class="p_block">
        <div class="ll1">
          <p class="left">
            <span class="yx1">永续</span>
            <span class="yx2 g_color" style="font-size:.4rem">订单号：2312312313</span>
          </p>
          <p class="right">
            <span class="g_color"  style="font-size:.4rem">未支付</span>
            <img src="../../assets/g_jt.png" alt />
          </p>
        </div>
        <div class="ll2">
          <span style="text-align:left">1T</span>
          <span>¥0.38</span>
          <span style="text-align:right">6.00%</span>
        </div>
        <div class="ll3">
          <span class="g_color" style="text-align:left;font-size:.4rem">数量</span>
          <span class="g_color"  style="font-size:.4rem">电费/度</span>
          <span class="g_color" style="text-align:right;font-size:.4rem">管理费</span>
        </div>
        <div class="b_order">
          <p>
            <span style="margin-right:.2rem;" class="f_weight">33.53</span>
            <span style="font-size:15px;" class="f_weight">USDT</span>
          </p>
          <div class="b_btn" @click="$router.push('/order_detail')">去支付</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      
    };
  },

  created: function() {},
  mounted() {},
  methods: {
    tab(index) {
      this.num = index;
    }
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
.f-flex {
  display: flex;
  display: -webkit-flex;
  align-items: center;
}
.power_order {
  .head {
    color: #fefeff;
    height: 1.893333rem;
    width: 100%;
    background: url(../../assets/p_bag.png) no-repeat;
    background-size: cover;
    .f-flex();
  }
  .h-head {
    color: #fefeff;
    width: 100%;
    .f-flex();
    justify-content: center;
    .left {
       left: 0.346667rem;
       position: absolute;
      .f-flex();
      font-size: .48rem;
      img {
        width: 0.293333rem;
        height: 0.48rem;
        margin-right: 0.266667rem;
      }
    }
    .right {
      font-size: 0.48rem;
      font-weight: bold;
      text-align: center;
    }
  }
  .p_block {
    width: 92%;
    margin: auto;
    padding-left: 0.266667rem;
    padding-right: 0.266667rem;
    margin-top: 0.266667rem;
    border-radius: 0.266667rem;
    background: #fff;
    padding-top: 0.266667rem;
    .ll1 {
      .f-flex();
      justify-content: space-between;
      .yx1 {
        font-size: 0.48rem;
        font-weight: bold !important;
        margin-right: 0.213333rem;
      }
      .yx2 {
        font-size: 0.32rem;
      }
      .right {
        .f-flex();
        span {
          padding-right: 0.213333rem;
        }
        img {
          width: 0.213333rem;
          height: 0.346667rem;
        }
      }
    }
    .ll2 {
      .f-flex();
      margin: 0.266667rem auto;
      justify-content: space-between;
      font-size: 0.4rem;
      color: #434343;
      span {
        width: 33.3%;
        font-weight: bold !important;
      }
    }
    .ll3 {
      .f-flex();
      justify-content: space-between;
      color: #474747;
      padding-bottom: 0.266667rem;
      span {
        width: 33.3%;
      }
    }
    .b_order {
      .f-flex();
      padding-left: 0.266667rem;
      padding-right: 0.266667rem;
      height: 1.333333rem;
      justify-content: space-between;
      color: #474747;
      font-size: 0.48rem;
      border-top: 1px solid #f3eded;
    }
    .b_btn {
       background: #546ce3;
      width: 1.933333rem;
      height: 0.633333rem;
      text-align: center;
      font-size: 0.32rem;
      line-height: 0.633333rem;
      color: #fff;
      border-radius: 0.366667rem;
    }
  }
}
</style>

